package org.dromara.answer.domain;

import org.dromara.common.mybatis.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.util.Date;

/**
 * 选项对象 ai_options
 *
 * @author Lion Li
 * @date 2025-04-09
 */
@Data
@TableName("ai_options")
public class AiOptions {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 选项ID，主键
     */
    @TableId(value = "option_id")
    private Long optionId;

    /**
     * 关联的题目ID
     */
    private Long questionId;

    /**
     * 选项内容
     */
    private String optionContent;

    /**
     * 选项顺序
     */
    private Long optionOrder;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    /**
     * 标签
     */
    private String label;
}
